package extend;

import java.util.Scanner;

public class CompareTest {
    public static void main(String [] args){
        int radius1;
        int radius2;
        Scanner S=new Scanner(System.in);
        System.out.println("请输入两个半径（第一个为当前类对象）");
        radius1=S.nextInt();
        radius2=S.nextInt();

        CompareiyCir c1=new CompareiyCir(radius1);
        CompareiyCir c2=new CompareiyCir(radius2);
        System.out.println(c1.compareTo(c2));//c1和c2的比较
    }
}
